sdsbsgraphthumbnailgenerator module

class sd.api.sbs.sdsbsgraphthumbnailgenerator.SDSBSGraphThumbnailGenerator(APIContext, handle, *args, **kwargs)

Bases: sd.api.sdapiobject.SDAPIObject

Utility to generate thumbnails for Substance compositing graphs

cancel() → None

Cancel the current thumbnail generation

generateThumbnail(sdGraph: sd.api.sbs.sdsbscompgraph.SDSBSCompGraph) → None

Generate a thumbnail for a Substance compositing graph

Parameters

sdGraph – The graph to generate the thumbnail for

getClassName() → str

Returns the most specific name of the class this APIObject is

getLastError() → Optional[str]

Return the last error message. None if no error ocurred

isFinished() → bool

Generate a thumbnail for a Substance compositing graph

release() → None

Releases an APIObject

static sNew() → sd.api.sbs.sdsbsgraphthumbnailgenerator.SDSBSGraphThumbnailGenerator

Create a new SDSBSGraphThumbnailGenerator instance